package com.zhang.servicemap.controller;

import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.response.TrackResponse;
import com.zhang.servicemap.service.TrackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-15
 */
@RestController
@RequestMapping("/track")
public class TrackController {
	@Autowired
	private TrackService trackService;

	@PostMapping("/add")
	public ResponseResult<TrackResponse> add(@RequestParam String tid) {
		return trackService.add(tid);
	}
}
